/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package interfaz;
/**/
import java.util.ArrayList;
import javax.swing.table.DefaultTableModel;

/**
 *
 * @author David
 */
public class ModeloTabla extends DefaultTableModel{
    
    public ModeloTabla() {
        super();
    }
    
    
    ModeloTabla(Object[][] filas, String[] string) {
        super(filas,string);
    }
    
    
    @Override
    public boolean isCellEditable(int row, int column) {
        return false;
    }
    
 /*   private ArrayList<Object[]> data;
 
    private int numColumns =3;
    private String columnNames[];
    private Class classes[];
    private boolean editable[];

    
     ModeloTabla(String[] nombreColumnas, Class[] clases, boolean[] editable) {
        data = new ArrayList<Object[]>();
 
        this.columnNames = columnNames;
        this.classes = classes;
        this.editable = editable;
     }
     
      public void addRow() {
        int numRows = data.size();
 
        Object[] row = new Object[numColumns];
        data.add(row);
 
        this.fireTableRowsInserted(numRows, numRows+1);
    }*/
}